/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.stt.department.entity;

import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 部门信息Entity
 * @author stt
 * @version 2022-10-07
 */
@Data
public class SysDepartment extends DataEntity<SysDepartment> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="部门名称", align=2, sort=1)
	private String name;		// 部门名称
    @NotNull(message="满勤奖金不能为空")
	@ExcelField(title="满勤奖金", align=2, sort=2)
	private Double bonus;		// 满勤奖金
	@ExcelField(title="备用1", align=2, sort=3)
	private String by1;		// 备用1
	@ExcelField(title="备用2", align=2, sort=4)
	private String by2;		// 备用2
	
	public SysDepartment() {
		super();
	}
	
	public SysDepartment(String id){
		super(id);
	}
}